package com.example.demo.mapper;


import java.util.List;

import com.example.demo.entity.UserAndRole;

/**
 * 用户与权限中间映射类
 * @author Henry.Y
 * 2019年5月20日
 */
public interface UserAndRoleMapper {

	public int createUserAndRole(String sqlId,UserAndRole userAndRole);
	
	public int deleteUserAndRole(String sqlId,String id);
	
	public UserAndRole selectOneUserAndRole(String sqlId,UserAndRole userAndRole);
	
	public List<UserAndRole> selectUserAndRole(String sqlId);
	
	public int deleteUserAndRoleTable(String sqlId);
}
